﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="contact.aspx.cs" Inherits="home_contact" culture="auto"
 meta:resourcekey="PageResource1" uiculture="auto" %>

<%@ Register src="../controls/header.ascx" tagname="header" tagprefix="uc1" %>
<%@ Register src="../controls/leftColumn.ascx" tagname="leftColumn" tagprefix="uc2" %>
<%@ Register src="../controls/footer.ascx" tagname="footer" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .cell1
        {
        	height:30px;
        	width:80px;
        	text-align:right;
        	padding-right:3px;
        }
        .cell2
        {
        	text-align:left;
        }
        .cell3
        {
        	width:20px;
        	text-align:left;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
            
    <center>
        <uc1:header ID="header1" runat="server" />
    </center>
    <center>
        <div id="main" class="table">
        <div id="content" class="table-row">
            <div id="left" class="table-cell">
                <uc2:leftColumn ID="leftColumn1" runat="server" />
            </div>
            <div id="block" class="table-cell">
                <div class="title"><asp:Label runat="server" ID="lblTitle" 
                        meta:resourcekey="lblTitleResource1"></asp:Label></div>
                <div class="content-area">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td class="cell1">
                                <asp:Label runat="server" ID="lblName" meta:resourcekey="lblNameResource1"></asp:Label></td>
                            <td class="cell2">
                                <asp:TextBox ID="txtHoten" runat="server" Width="40%"></asp:TextBox>
                            </td>
                            <td class="cell3">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ControlToValidate="txtHoten" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="cell1">
                                <asp:Label runat="server" ID="lblEmail" meta:resourcekey="lblEmailResource1"></asp:Label></td>
                            <td class="cell2">
                                <asp:TextBox ID="txtEmail" runat="server" Width="40%"></asp:TextBox>
                            </td>
                            <td class="cell3">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ControlToValidate="txtEmail" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="cell1">
                                <asp:Label runat="server" ID="lblAddress" 
                                    meta:resourcekey="lblAddressResource1"></asp:Label></td>
                            <td class="cell2">
                                <asp:TextBox ID="txtDiachi" runat="server" Width="100%"></asp:TextBox>
                            </td>
                            <td class="cell3"></td>
                        </tr>
                        <tr>
                            <td class="cell1">
                                <asp:Label runat="server" ID="lblSubject" 
                                    meta:resourcekey="lblSubjectResource1"></asp:Label></td>
                            <td class="cell2">
                                <asp:TextBox ID="txtTieude" runat="server" Width="100%"></asp:TextBox>
                            </td>
                            <td class="cell3"></td>
                        </tr>
                        <tr>
                            <td class="cell1">
                                <asp:Label runat="server" ID="lblContent" 
                                    meta:resourcekey="lblContentResource1"></asp:Label></td>
                            <td class="cell2">
                                <asp:TextBox ID="txtNoidung" runat="server" Height="200px" TextMode="MultiLine" 
                                    Width="100%"></asp:TextBox>
                            </td>
                            <td class="cell3">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                    ControlToValidate="txtNoidung" ErrorMessage="*" 
                                    meta:resourcekey="RequiredFieldValidator3Resource1"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="cell1"></td>
                            <td class="cell2">
                                <asp:Label runat="server" ID="lblMessage" ForeColor="Red"></asp:Label>
                            </td>
                            <td class="cell3"></td>
                        </tr>
                        <tr>
                            <td class="cell1"></td>
                            <td class="cell2">
                                <asp:Button ID="btnSave" runat="server" Width="80px" Font-Size="8pt" 
                                 Text="Gửi liên hệ" onclick="btnSave_Click"
                                 meta:resourcekey="btnSaveResource1" CssClass="theButton" />
                                &nbsp;
                                <asp:Button ID="btnCancel" runat="server" Width="80px" Font-Size="8pt" 
                                 Text="Hủy bỏ" onclick="btnCancel_Click" 
                                 meta:resourcekey="btnCancelResource1" CssClass="theButton" />
                            </td>
                            <td class="cell3"></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="clr"></div>
        </div>
    </center>
    <center>
        <uc3:footer ID="footer1" runat="server" />
    </center>

    </form>
</body>
</html>
